package com.xuliugen.javamybatis.demo.proxy.dynamicproxy.test;

import com.xuliugen.javamybatis.demo.proxy.dynamicproxy.DefaultSqlSession;

/**
 * Created by xuliugen on 2017/11/9.
 */
public class UserService {

    public static void main(String[] args) {
        final DefaultSqlSession sqlSession = new DefaultSqlSession();
        UserMapper userMapper = sqlSession.getMapper(UserMapper.class);
        User user = userMapper.selectUser();
        System.out.println(user.toString());
    }
}
